package com.njuptB180316.boki.dataobject;

/**
 * 
 * @date 2019/11/04
 */
public class User {
    private Long phone;

    private String name;

    private String password;

    /**
     * 0是用户，1是图书管理员，2是系统管理员
     */
    private Integer authority;

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAuthority() {
        return authority;
    }

    public void setAuthority(Integer authority) {
        this.authority = authority;
    }
}